import { Button, Result } from 'antd';
import { history } from 'umi';

const NoFoundPage = () => (
  <Result
    status="404"
    title="未找到页面"
    subTitle="对不起, 未找到该页面."
    extra={
      <Button type="primary" onClick={() => history.push('/menu/index')}>
        回到首页
      </Button>
    }
  />
);

export default NoFoundPage;
